Class
RtfStyleKeyCodeFluent
OfficeIMO.Rtf
The fluent methods of RtfStyleKeyCode, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- RtfStyleKeyCodeFluent
Methods
public static RtfStyleKeyCode Alt(RtfStyleKeyCode rtfStyleKeyCode, bool value = true) #Sets RtfStyleKeyCode.Alt: Whether the shortcut includes the ALT modifier.
Parameters
- rtfStyleKeyCode OfficeIMO.Rtf.RtfStyleKeyCode
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfStyleKeyCode { Alt = value }; rtfStyleKeyCode.Alt(value);public static RtfStyleKeyCode Control(RtfStyleKeyCode rtfStyleKeyCode, bool value = true) #Sets RtfStyleKeyCode.Control: Whether the shortcut includes the CTRL modifier.
Parameters
- rtfStyleKeyCode OfficeIMO.Rtf.RtfStyleKeyCode
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfStyleKeyCode { Control = value }; rtfStyleKeyCode.Control(value);public static RtfStyleKeyCode FunctionKey(RtfStyleKeyCode rtfStyleKeyCode, int? value) #Sets RtfStyleKeyCode.FunctionKey: Optional function-key number from \fn.
Parameters
- rtfStyleKeyCode OfficeIMO.Rtf.RtfStyleKeyCode
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfStyleKeyCode { FunctionKey = value }; rtfStyleKeyCode.FunctionKey(value);public static RtfStyleKeyCode Key(RtfStyleKeyCode rtfStyleKeyCode, string? value) #Sets RtfStyleKeyCode.Key: Optional literal key text.
Parameters
- rtfStyleKeyCode OfficeIMO.Rtf.RtfStyleKeyCode
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfStyleKeyCode { Key = value }; rtfStyleKeyCode.Key(value);public static RtfStyleKeyCode Shift(RtfStyleKeyCode rtfStyleKeyCode, bool value = true) #Sets RtfStyleKeyCode.Shift: Whether the shortcut includes the SHIFT modifier.
Parameters
- rtfStyleKeyCode OfficeIMO.Rtf.RtfStyleKeyCode
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfStyleKeyCode { Shift = value }; rtfStyleKeyCode.Shift(value);