Struct TrimmingParameters
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
public struct TrimmingParameters : IEquatable<TrimmingParameters>
- Implements
- Inherited Members
Constructors
Properties
- Delimiter
A character code used as the delimiter that signals the beginning of the portion of text to be preserved. Text starting from the Nth occurrence of the delimiter (where N equals delimiterCount) counting backwards from the end of the text block will be preserved. For example, given the text is a path like c:\A\B\C\D\file.txt and delimiter equal to '' and delimiterCount equal to 1, the file.txt portion of the text would be preserved. Specifying a delimiterCount of 2 would preserve D\file.txt.
- DelimiterCount
The delimiter count, counting from the end of the text, to preserve text from.
- Granularity
A value that specifies the text granularity used to trim text overflowing the layout box.