Page tree

Versions Compared

Key

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

Excerpt

Aligns a Picture with the specified alignment.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Aligns a [Picture|Picture] with the specified [alignment|Alignment].{excerpt}
{signature:C#}
 public void Align(Alignment alignment)
Signature
{signature}{signature:vb.net
vb.net
}
Public sub Align(ByVal alignment As Alignment)
Parameters
{signature}
{parameters}
{param:alignment}An [Alignment|Alignment] value representing the desired alignment of the {{Picture}}.{param}
{example}
{code:csharp|title=C#}
 
          pic.Align(Alignment.Center);

{code}
{code:vbnet|title=vb.net
}

          pic.Align(Alignment.Center)

        {code}
{example}
Param
alignmentalignment

An Alignment value representing the desired alignment of the Picture.

Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle