GdPicture.NET Reference Guide
FontGetUnit Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : FontGetUnit Method
Retrieves the font size unit used in the Drawing text methods.
Syntax
'Declaration
 
Public Function FontGetUnit() As UnitMode
public UnitMode FontGetUnit()
public function FontGetUnit(): UnitMode; 
public function FontGetUnit() : UnitMode;
public: UnitMode FontGetUnit(); 
public:
UnitMode FontGetUnit(); 

Return Value

A member of the UnitMode enumeration.
Example
Retrieving the unit size of a font used in drawing text on an image. The following code assumes a certain font along with its unit has been set and is used to draw text on an image with.
Dim oGdPictureImaging As New GdPictureImaging
Dim Size As UnitMode
Size = oGdPictureImaging.FontGetUnit()
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
FontSetUnit Method