Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

Wiki Markup
{introducedin:4.5.1

...

Description

Excerpt

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


{remarks}
{example}
{code:csharp|title=C#}
HeaderFooterPicture hfp = header.GetPicture();

//--- Set height to 20 pixels
hfp.Height = 20;
{code}
{code:vbnet|title=vb.net
}
Dim hfp As HeaderFooterPicture = header.GetPicture()

'--- Set height to 20 pixels
hfp.Height = 20
Signature
C#C#
}
{description}
{excerpt}
A [HeaderFooterPicture] object represents a picture embedded in a Header or Footer.
{excerpt}
{signature:C#}
public sealed class HeaderFooterPicture
Signature
{signature}
{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
{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 [HeaderFooterSection.GetPicture()] method.  In order to clear or change the picture that is used, use one of the [HeaderFooterSection.SetContent] methods.
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle
Properties

...

Name

...

Description

...

Height

...

{code}
{example}
{properties}
||Name||Description||
|[Height|HeaderFooterPicture.Height]|{excerpt-include:HeaderFooterPicture.Height

...

LockAspectRatio

|nopanel=true}|
|[LockAspectRatio|HeaderFooterPicture.LockAspectRatio]|{excerpt-include

...

:HeaderFooterPicture.LockAspectRatio

...

Width

|nopanel=true}|
|[Width|HeaderFooterPicture.Width]|{excerpt-include

...

:HeaderFooterPicture.Width

...

|nopanel=true}|