PrintingTools Home
  1. Home
  2. Docs
  3. API
    1. GitHub
    Menu
    Loading menu…

    On this page

    1. Home
    2. API
    3. PrintingTools.Core
    4. PrintLayoutHints

    PrintLayoutHints Class

    Definition

    Namespace PrintingTools.Core
    Assembly PrintingTools.Core.dll
    Inherits Object
    View source
    Show inherited members (7)
    • System.Object.Equals(System.Object?)
    • System.Object.Equals(System.Object?, System.Object?)
    • System.Object.GetHashCode()
    • System.Object.GetType()
    • System.Object.MemberwiseClone()
    • System.Object.ReferenceEquals(System.Object?, System.Object?)
    • System.Object.ToString()

    Provides attached properties that describe how Avalonia visuals should participate in printing.

    public class PrintLayoutHints
    
    Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

    Fields (6)

    IsPageBreakAfterProperty
    IsPrintableProperty
    MarginsProperty
    ScaleProperty
    SelectionBoundsProperty
    TargetPageSizeProperty

    Methods (13)

    CreateSettings(Visual, PrintPageSettings)Creates PrintPageSettings from the attached properties on the supplied visual.
    GetIsPageBreakAfter(Visual)
    GetIsPrintable(Visual)
    GetMargins(Visual)
    GetScale(Visual)
    GetSelectionBounds(Visual)
    GetTargetPageSize(Visual)
    SetIsPageBreakAfter(Visual, Boolean)
    SetIsPrintable(Visual, Boolean)
    SetMargins(Visual, Nullable<Thickness>)
    SetScale(Visual, Nullable<Double>)
    SetSelectionBounds(Visual, Nullable<Rect>)
    SetTargetPageSize(Visual, Nullable<Size>)

    Copyright © 2026, Wieslaw Soltes aka wieslawsoltes - Content licensed under the Creative Commons CC BY 2.5 | Site generated by lunet hosted on GitHub Pages