[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutView.CreatePoint

CreatePoint Method

CreatePoint(float, float, float, float)

Creates a point associated with the LayoutView to be used as an anchor for LayoutRects.

Declaration
public AnchorPoint CreatePoint(float widthFactor, float heightFactor, float leftOffset = 0, float topOffset = 0)
Public Function CreatePoint(widthFactor As Single, heightFactor As Single, Optional leftOffset As Single = 0, Optional topOffset As Single = 0) As AnchorPoint
Parameters
Type Name Description
float widthFactor

The value to be multiplied by Width before adding to the position of the left side.

float heightFactor

The value to be multiplied by Height before adding to the position of the top side.

float leftOffset

The value to be added to the position of the left side.

float topOffset

The value to be added to the position of the top side.

Returns
Type Description
AnchorPoint

The created AnchorPoint object.