Skip to content

DrawingMargin

Namespace: ThinkGeo.Core

Represents the pixel margins applied around a drawing extent.

public struct DrawingMargin

Inheritance objectValueTypeDrawingMargin

Properties

Top

Gets or sets the top margin in pixels.

public int Top { get; set; }

Property Value

int

Gets or sets the right margin in pixels.

public int Right { get; set; }

Property Value

int

Down

Gets or sets the bottom margin in pixels.

public int Down { get; set; }

Property Value

int

Left

Gets or sets the left margin in pixels.

public int Left { get; set; }

Property Value

int

Constructors

DrawingMargin(int, int, int, int)

Initializes a new DrawingMargin with explicit edge values.

DrawingMargin(int top, int right, int down, int left)

Parameters

top int
Top margin in pixels.

right int
Right margin in pixels.

down int
Bottom margin in pixels.

left int
Left margin in pixels.