Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Introducedin
4.5.1

...

4.5.1
Description

Excerpt

A HeaderFooterPicture object represents a picture embedded in a Header or Footer.

Signature
C#
C#
public sealed class HeaderFooterPicture
{signature}
{signature:
}
Signature
vb.net
vb.net
Public NotInheritable Class HeaderFooterPicture
{signature}
{remarks}
Use this class in order to set the size of a picture within a [HeaderFooterSection].  In order to return a [HeaderFooterPicture] object, use the [
Remarks

Use this class in order to set the size of a picture within a HeaderFooterSection. In order to return a HeaderFooterPicture object, use the HeaderFooterSection.GetPicture()

]

method.

In

order

to

clear

or

change

the

picture

that

is

used,

use

one

of

the

[

HeaderFooterSection.SetContent

]

methods.

{remarks} {example} {code:csharp|title=C#}

Example
Code Block
csharp
csharp
titleC#

HeaderFooterPicture hfp = header.GetPicture();

//--- Set height to 20 pixels
hfp.Height = 20;
{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}

Dim hfp As HeaderFooterPicture = header.GetPicture()

'--- Set height to 20 pixels
hfp.Height = 20
{code} {example} {properties} ||Name||Description|| |[Height|HeaderFooterPicture.Height]|{excerpt-include:HeaderFooterPicture.Height|nopanel=true}| |[LockAspectRatio|HeaderFooterPicture.LockAspectRatio]|{excerpt-include:HeaderFooterPicture.LockAspectRatio|nopanel=true}| |[Width|HeaderFooterPicture.Width]|{excerpt-include:HeaderFooterPicture.Width|nopanel=true}|
Properties

Name

Description

Height

Excerpt Include
HeaderFooterPicture.Height
HeaderFooterPicture.Height
nopaneltrue

LockAspectRatio

Excerpt Include
HeaderFooterPicture.LockAspectRatio
HeaderFooterPicture.LockAspectRatio
nopaneltrue

Width

Excerpt Include
HeaderFooterPicture.Width
HeaderFooterPicture.Width
nopaneltrue