CodeCarvings.Piczard
Unit Property
See Also  Send Feedback
CodeCarvings.Piczard Namespace > CropConstraint Class : Unit Property

Gets or sets the graphic unit in which sizes are measured.

Syntax

Visual Basic (Declaration)  
Public Property Unit As GfxUnit
C#  
public GfxUnit Unit {get; set;}

Return Value

The GfxUnit of the current CropConstraint object.
The default value is GfxUnit.Pixel (please see also CommonData.DefaultUnit).

Remarks

The Margins are expressed in the same Unit of the CropConstraint object.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.