- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- AnnUnit value that indicates the units to which to convert this AnnSize structure.
Visual Basic (Declaration) | |
---|---|
Public Function ConvertTo( _ ByVal converter As AnnUnitConverter, _ ByVal unit As AnnUnit _ ) As AnnSize |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnSize ConvertTo( AnnUnitConverter converter, AnnUnit unit ) |
C++/CLI | |
---|---|
public: AnnSize ConvertTo( AnnUnitConverter^ converter, AnnUnit unit ) |
Parameters
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- AnnUnit value that indicates the units to which to convert this AnnSize structure.
Return Value
An AnnSize structure containing the converted value of this AnnSize structure.For an example, refer to op_Equality.
The AnnUnitConverter object specified in converter is used to do the actual conversion. If converter is null (Nothing in Visual Basic), the default AnnUnitConverter performs the conversion, using 96 DPI.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family