Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.VerticalMinorGridlinesStyle [Property][Get/Set]

IPen.VerticalMinorGridlinesStyle [Property][Get/Set]

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

Defined As

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.

See Also

IPen.VerticalGridlinesStyle [Property][Get/Set], LineStyle [Enumeration]

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.VerticalMinorGridlinesStyle
`Setting Property value to Dot
pen.VerticalMinorGridlinesColor = 2
End Sub

[Cicode]

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