CodeCarvings.Piczard
GetCanConvertGfxUnitToGraphicsUnit Method
See Also  Send Feedback
CodeCarvings.Piczard Namespace > GfxUnitConverter Class : GetCanConvertGfxUnitToGraphicsUnit Method

unit
The unit of measure to convert.
Gets a value indicating whether it is possible to convert a unit of measure used by Piczard (GfxUnit) into the corresponding unit of measure used by the System.Drawing objects (GraphicsUnit).

Syntax

Visual Basic (Declaration)  
Public Shared Function GetCanConvertGfxUnitToGraphicsUnit( _
   ByVal unit As GfxUnit _
) As Boolean
C#  
public static bool GetCanConvertGfxUnitToGraphicsUnit( 
   GfxUnit unit
)

Parameters

unit
The unit of measure to convert.

Return Value

true if GfxUnit can be converted to GraphicsUnit; otherwise, false.

Remarks

Not every unit of measure can be converted.
For example "Centimeter" is available only in the GfxUnit enumeration but not in GraphicsUnit.

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.