Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IPen​.HorizontalMinorGridlinesStyle [Property][Get/Set]

IPen​.HorizontalMinorGridlinesStyle [Property][Get/Set]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets or sets the line style used to draw the minor horizontal gridlines.

Defined As

  • [VBA] Long HorizontalMinorGridlinesStyle

  • [Cicode] INT HorizontalMinorGridlinesStyle

  • [C++] LineStyle HorizontalMinorGridlinesStyle

Execution Result

If the property get/set succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the style is out of range, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.

Calling Syntax

Assumes you have passed a valid pen object into the function.

[VBA]

Sub Example(pen As Object)
Dim style As Long
`Getting Property value
style = pen.HorizontalMinorGridlinesStyle
`Setting Property value to Dot
pen.HorizontalMinorGridlinesColor = 2
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT style;
// Getting current property value
style = _ObjectGetProperty(hPen, "HorizontalMinorGridlinesStyle");
// Setting Property to Dot
_ObjectSetProperty(hPen, "HorizontalMinorGridlinesStyle", 2);
END

See Also

IPen.HorizontalGridlinesStyle [Property][Get/Set]

LineStyle [Enumeration]

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in