GdPicture.NET Reference Guide
FontGetUnit Method (GdPictureImaging)

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

Return Value

A member of the UnitMode enumeration.
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


GdPictureImaging Class
GdPictureImaging Members
FontSetUnit Method