Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
vb.net
vb.net

Public NotInheritable Class HeaderFooterPicture
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.

Example
Code Block
csharp
csharp
titleC#

HeaderFooterPicture hfp = header.GetPicture();

//--- Set height to 20 pixels
hfp.Height = 20;
Code Block
vbnet
vbnet
titlevb.net

Dim hfp As HeaderFooterPicture = header.GetPicture()

'--- Set height to 20 pixels
hfp.Height = 20

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