Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreview.FooterFont Property

Defines the font used for page footers.

Syntax

Get

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

Put

VB.NETobject.let_FooterFont(ByVal refFontObj As stdole.IFontDisp) Note
VBobject.FooterFont = refFontObj As IFontDisp
C#.NETvoid object.let_FooterFont(stdole.IFontDisp refFontObj); Note
VC++void object->PutFooterFont(IFontDisp* refFontObj);
CHRESULT object->put_FooterFont(IFontDisp* refFontObj);

PutRef

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

object

A SftPrintPreview object.

refFontObj

Defines the font used for page footers.

Comments

The FooterFont property defines the font used for page footers.

The HeaderFont property can be used to define the font used for page headers.

Using PutRef (see Syntax above) the control will use the reference to the Font object. If the Font object is later changed, this will also affect the font used by the control. Using Put instead causes the control to create a copy of the Font object. If the Font object is later changed, this will not affect the font used by the control as it uses a copy of the object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.

See Also SftPrintPreview Object | Object Hierarchy


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