ImageGear .NET - Updated October 2, 2018
BurnIn Method
Example 




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearART Class : BurnIn Method
ImageGear.Core.ImGearPage class to burn marks in.
ART page to get marks from.
BurnIn options.
List of group indexes to apply burn in to, null - all groups.
Merges marks permanently into ImageGear.Core.ImGearPage class.
Syntax
'Declaration
 
Public Shared Function BurnIn( _
   ByVal page As ImGearPage, _
   ByVal artPage As ImGearARTPage, _
   ByVal burnOptions As ImGearARTBurnInOptions, _
   ByVal groupIndexes() As Integer _
) As ImGearPage
 
'Usage
 
Dim page As ImGearPage
Dim artPage As ImGearARTPage
Dim burnOptions As ImGearARTBurnInOptions
Dim groupIndexes() As Integer
Dim value As ImGearPage
 
value = ImGearART.BurnIn(page, artPage, burnOptions, groupIndexes)

Parameters

page
ImageGear.Core.ImGearPage class to burn marks in.
artPage
ART page to get marks from.
burnOptions
BurnIn options.
groupIndexes
List of group indexes to apply burn in to, null - all groups.

Return Value

Remarks
The marks are converted from vector-format constructs into raster-format. The image may be temporarily promoted to a higher bit-depth for the purpose of the merge (see ImGearARTBurnInOptions enumeration).
Example
// Select half of the annotations.
int count = 0;
foreach (ImGearARTMark igARTMark in igARTPage)
{
    if (count++ % 2 == 1)
        igARTPage.MarkSelect(igARTMark, true);
}
// Burn the selected annotations into the image.
ImGearPage igPageNew = ImGearART.BurnIn(igPage, igARTPage, ImGearARTBurnInOptions.SELECTED, null);
igPageView.Page = igPageNew;
// Remove the burned in annotations from the art page.
foreach (ImGearARTMark igARTMark in igARTPage)
{
    if (igARTPage.MarkIsSelected(igARTMark))
        igARTPage.MarkRemove(igARTMark);
}
See Also

Reference

ImGearART Class
ImGearART Members
ImGearPage Class
ImGearARTPage Class
ImGearARTBurnInOptions Enumeration