Object.defineProperty(AnnObject.prototype, 'font',
get: function(),
set: function(value)
)
font: AnnFont;
The AnnFont used to draw this AnnObject. The default value is "Arial" 12pt size.
This property should be used as the font properties used when drawing the text of this object. Each object renderer is responsible for determining whether to use this property. For example, the renderer for AnnTextObject will use this property to create a device font and use it to draw its Text string. Setting Font to null will stop the object from rendering its text.
For an example, refer to AnnTextObject.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET