Page tree

Versions Compared

Key

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

Description

Excerpt

Gets or sets the width in pixels of a picture embedded in a header or footer

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
public int Width { get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
Public <p>Public Function Width() As Integer</p>Integer
Example
Code Block
csharp
csharp
titleC#

HeaderFooterPicture hfp = header.GetPicture();
 
//--- Set width of picture to 20 pixels
hfp.Width = 20;
Code Block
vb.net
vb.net
titlevb.net

Dim hfp As HeaderFooterPicture = header.GetPicture()
 
'--- Set width of picture to 20 pixels
hfp.Width = 20