Initializes a new instance of the
AnnSize structure from a SizeF structure and a unit value.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal sz As SizeF, _
ByVal unit As AnnUnit _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim sz As SizeF
Dim unit As AnnUnit
Dim instance As AnnSize(sz, unit)
|
Parameters
- sz
- A SizeF structure that specifies the dimension for the new AnnSize structure.
- unit
- An AnnUnit value specifying the unit of measure for the values in this structure.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also