- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- Specifies the destination AnnUnit value for the unit of measure for the conversion.
Visual Basic (Declaration) | |
---|---|
Public Function ConvertTo( _ ByVal converter As AnnUnitConverter, _ ByVal unit As AnnUnit _ ) As AnnRectangle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnRectangle ConvertTo( AnnUnitConverter converter, AnnUnit unit ) |
C++/CLI | |
---|---|
public: AnnRectangle ConvertTo( AnnUnitConverter^ converter, AnnUnit unit ) |
Parameters
- converter
- Specifies the AnnUnitConverter object to be used in the conversion.
- unit
- Specifies the destination AnnUnit value for the unit of measure for the conversion.
Return Value
An AnnRectangle structure containing the converted values of this AnnRectangle structure.For an example, refer to op_Equality.
converter is used to do the actual conversion. If converter is null (Nothing in Visual Basic), the default AnnUnitConverter is used (in other words, conversion will be done based on the default 96 DPI).
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family