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

...

Description

Excerpt

Aligns a Picture with the specified alignment.

Signature
C#
C#
 public void Align(Alignment alignment)
{signature}{signature:
}
Signature
vb.net
vb.net
Public sub Align(ByVal alignment As Alignment)
{signature}
{parameters}
{param:alignment}An [Alignment|Alignment] value representing the desired alignment of the {{Picture}}.{param}
{example}
{code:csharp|title=C#}
Parameters
Param
alignment
alignment

An Alignment value representing the desired alignment of the Picture.

Example
Code Block
csharp
csharp
titleC#

 
          pic.Align(Alignment.Center);

{code} {code:vbnet|title=
Code Block
vbnet
vbnet
titlevb.net
}


          pic.Align(Alignment.Center)

        
{code} {example}