ImageGear .NET v25.1 - Updated
MarkBringToFront(ImGearARTMark) Method
Example 




ImageGear.Art Assembly > ImageGear.ART Namespace > ImGearARTPage Class > MarkBringToFront Method : MarkBringToFront(ImGearARTMark) Method
Mark to move.
Moves the specified mark to the top of Z-Order.
Syntax
'Declaration
 
Public Overloads Sub MarkBringToFront( _
   ByVal mark As ImGearARTMark _
) 
'Usage
 
Dim instance As ImGearARTPage
Dim mark As ImGearARTMark
 
instance.MarkBringToFront(mark)
public void MarkBringToFront( 
   ImGearARTMark mark
)
public: void MarkBringToFront( 
   ImGearARTMark* mark
) 
public:
void MarkBringToFront( 
   ImGearARTMark^ mark
) 

Parameters

mark
Mark to move.
Example
// Send any text marks true the back of the z order, and line marks to the front.
foreach (ImGearARTMark igARTMark in igARTPage.Groups[0])
{
    if (igARTMark is ImGearARTText)
        igARTPage.MarkSendToBack(igARTMark);
    else if (igARTMark is ImGearARTLine)
        igARTPage.MarkBringToFront(igARTMark);
}
' Send any text marks true the back of the z order, and line marks to the front.
For Each igARTMark As ImGearARTMark In igARTPage.Groups(0)
    If TypeOf igARTMark Is ImGearARTText Then
        igARTPage.MarkSendToBack(igARTMark)
    ElseIf TypeOf igARTMark Is ImGearARTLine Then
        igARTPage.MarkBringToFront(igARTMark)
    End If
Next
See Also

Reference

ImGearARTPage Class
ImGearARTPage Members
Overload List
ImGearARTMark Class