Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.Font Property

Defines the default font used.

Syntax

Get

VB.NETrefFontObj = object.Font As System.Drawing.Font
refFontObj = object.Font As stdole.IFontDisp Note
VBSet refFontObj = object.Font As IFontDisp
C#.NETSystem.Drawing.Font refFontObj = object.Font;
stdole.IFontDisp refFontObj = object.Font; Note
VC++IFontDisp* refFontObj = object->GetFont();
CHRESULT object->get_Font(IFontDisp** refFontObj);

Put

VB.NETobject.let_Font(ByVal refFontObj As stdole.IFontDisp) Note
VBobject.Font = refFontObj As IFontDisp
C#.NETvoid object.let_Font(stdole.IFontDisp refFontObj); Note
VC++void object->PutFont(IFontDisp* refFontObj);
CHRESULT object->put_Font(IFontDisp* refFontObj);

PutRef

VB.NETobject.Font = refFontObj As System.Drawing.Font
object.Font = refFontObj As stdole.IFontDisp Note
VBSet object.Font = refFontObj As IFontDisp
C#.NETSystem.Drawing.Font object.Font = refFontObj;
stdole.IFontDisp object.Font = refFontObj; Note
VC++void object->PutRefFont(IFontDisp* refFontObj);
CHRESULT object->putref_Font(IFontDisp* refFontObj);

object

A SftPrintPreview object.

refFontObj

Defines the default font used.

Comments

The Font property defines the default font used.

This property is not currently used. Use the HeaderFont and FooterFont to define page formatting fonts.

The font used for the tool bar cannot be modified.

See Also SftPrintPreview Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.