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

Int32

Gets or sets the right margin in pixels.

public int Right { get; set; }

Property Value

Int32

Down

Gets or sets the bottom margin in pixels.

public int Down { get; set; }

Property Value

Int32

Left

Gets or sets the left margin in pixels.

public int Left { get; set; }

Property Value

Int32

Constructors

DrawingMargin(Int32, Int32, Int32, Int32)

Initializes a new DrawingMargin with explicit edge values.

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

Parameters

top Int32
Top margin in pixels.

right Int32
Right margin in pixels.

down Int32
Bottom margin in pixels.

left Int32
Left margin in pixels.