Show / Hide Table of Contents

Class PTColorDefaults

Inheritance
System.Object
PTColorDefaults
Namespace: pdftron.PDF.Tools
Assembly: Tools.dll
Syntax
public class PTColorDefaults : NSObject

Constructors

PTColorDefaults()

Declaration
public PTColorDefaults()

PTColorDefaults(NSObjectFlag)

Declaration
protected PTColorDefaults(NSObjectFlag t)
Parameters
Type Name Description
Foundation.NSObjectFlag t

PTColorDefaults(NativeHandle)

Declaration
protected PTColorDefaults(NativeHandle handle)
Parameters
Type Name Description
ObjCRuntime.NativeHandle handle

Properties

ClassHandle

Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type Description
ObjCRuntime.NativeHandle

DefaultColorPickerColors

Declaration
public static UIColor[] DefaultColorPickerColors { get; set; }
Property Value
Type Description
UIKit.UIColor[]

DefaultCountGroupLabel

Declaration
public static string DefaultCountGroupLabel { get; set; }
Property Value
Type Description
System.String

DefaultFreeTextSize

Declaration
public static double DefaultFreeTextSize { get; set; }
Property Value
Type Description
System.Double

DefaultFreeTextVerticalAlignment

Declaration
public static IntPtr DefaultFreeTextVerticalAlignment { get; set; }
Property Value
Type Description
System.IntPtr

HighlightColorPickerColors

Declaration
public static UIColor[] HighlightColorPickerColors { get; set; }
Property Value
Type Description
UIKit.UIColor[]

Methods

ColorPtFromUIColor(UIColor)

Declaration
public static PTColorPt ColorPtFromUIColor(UIColor uiColor)
Parameters
Type Name Description
UIKit.UIColor uiColor
Returns
Type Description
PTColorPt

DefaultBorderEffectForAnnotType(PTExtendedAnnotType)

Declaration
public static PTBorderEffect DefaultBorderEffectForAnnotType(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
PTBorderEffect

DefaultBorderEffectIntensityForAnnotType(PTExtendedAnnotType)

Declaration
public static double DefaultBorderEffectIntensityForAnnotType(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
System.Double

DefaultBorderThicknessForAnnotType(PTExtendedAnnotType)

Declaration
public static double DefaultBorderThicknessForAnnotType(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
System.Double

DefaultColorForAnnotType(PTExtendedAnnotType, String, ColorPostProcessMode)

Declaration
public static UIColor DefaultColorForAnnotType(PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
Type Name Description
PTExtendedAnnotType type
System.String attribute
ColorPostProcessMode mode
Returns
Type Description
UIKit.UIColor

DefaultColorPtForAnnotType(PTExtendedAnnotType, String, ColorPostProcessMode)

Declaration
public static PTColorPt DefaultColorPtForAnnotType(PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
Type Name Description
PTExtendedAnnotType type
System.String attribute
ColorPostProcessMode mode
Returns
Type Description
PTColorPt

DefaultDashEffect(Double)

Declaration
public static NSArray DefaultDashEffect(double width)
Parameters
Type Name Description
System.Double width
Returns
Type Description
Foundation.NSArray

DefaultDateTextFormat()

Declaration
public static string DefaultDateTextFormat()
Returns
Type Description
System.String

DefaultFreeTextFontName()

Declaration
public static string DefaultFreeTextFontName()
Returns
Type Description
System.String

DefaultFreeTextFontNameForAnnotType(PTExtendedAnnotType)

Declaration
public static string DefaultFreeTextFontNameForAnnotType(PTExtendedAnnotType annotType)
Parameters
Type Name Description
PTExtendedAnnotType annotType
Returns
Type Description
System.String

DefaultFreeTextHorizontalAlignment()

Declaration
public static IntPtr DefaultFreeTextHorizontalAlignment()
Returns
Type Description
System.IntPtr

DefaultFreeTextSizeForAnnotType(PTExtendedAnnotType)

Declaration
public static double DefaultFreeTextSizeForAnnotType(PTExtendedAnnotType annotType)
Parameters
Type Name Description
PTExtendedAnnotType annotType
Returns
Type Description
System.Double

DefaultLineEndStyles(PTExtendedAnnotType)

Declaration
public static NSNumber[] DefaultLineEndStyles(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
Foundation.NSNumber[]

DefaultMeasurementScaleForAnnotType(PTExtendedAnnotType)

Declaration
public static PTMeasurementScale DefaultMeasurementScaleForAnnotType(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
PTMeasurementScale

DefaultOpacityForAnnotType(PTExtendedAnnotType)

Declaration
public static double DefaultOpacityForAnnotType(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
System.Double

DefaultStrokeStyle(PTExtendedAnnotType)

Declaration
public static PTStrokeStyle DefaultStrokeStyle(PTExtendedAnnotType type)
Parameters
Type Name Description
PTExtendedAnnotType type
Returns
Type Description
PTStrokeStyle

NumCompsInColorPtForAnnotType(PTExtendedAnnotType, String)

Declaration
public static int NumCompsInColorPtForAnnotType(PTExtendedAnnotType type, string attribute)
Parameters
Type Name Description
PTExtendedAnnotType type
System.String attribute
Returns
Type Description
System.Int32

NumCompsInColorPtForUIColor(UIColor)

Declaration
public static int NumCompsInColorPtForUIColor(UIColor color)
Parameters
Type Name Description
UIKit.UIColor color
Returns
Type Description
System.Int32

SetDefaultBorderEffect(PTBorderEffect, PTExtendedAnnotType)

Declaration
public static void SetDefaultBorderEffect(PTBorderEffect borderEffect, PTExtendedAnnotType type)
Parameters
Type Name Description
PTBorderEffect borderEffect
PTExtendedAnnotType type

SetDefaultBorderEffectIntensity(Double, PTExtendedAnnotType)

Declaration
public static void SetDefaultBorderEffectIntensity(double borderEffectIntensity, PTExtendedAnnotType type)
Parameters
Type Name Description
System.Double borderEffectIntensity
PTExtendedAnnotType type

SetDefaultBorderThickness(Double, PTExtendedAnnotType)

Declaration
public static void SetDefaultBorderThickness(double thickness, PTExtendedAnnotType type)
Parameters
Type Name Description
System.Double thickness
PTExtendedAnnotType type

SetDefaultColor(UIColor, PTExtendedAnnotType, String, ColorPostProcessMode)

Declaration
public static void SetDefaultColor(UIColor color, PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
Type Name Description
UIKit.UIColor color
PTExtendedAnnotType type
System.String attribute
ColorPostProcessMode mode

SetDefaultDateTextFormat(String)

Declaration
public static void SetDefaultDateTextFormat(string format)
Parameters
Type Name Description
System.String format

SetDefaultFreeTextFontName(String)

Declaration
public static void SetDefaultFreeTextFontName(string fontName)
Parameters
Type Name Description
System.String fontName

SetDefaultFreeTextFontName(String, PTExtendedAnnotType)

Declaration
public static void SetDefaultFreeTextFontName(string fontName, PTExtendedAnnotType type)
Parameters
Type Name Description
System.String fontName
PTExtendedAnnotType type

SetDefaultFreeTextHorizontalAlignment(IntPtr)

Declaration
public static void SetDefaultFreeTextHorizontalAlignment(IntPtr horizontalAlignment)
Parameters
Type Name Description
System.IntPtr horizontalAlignment

SetDefaultFreeTextSize(Double, PTExtendedAnnotType)

Declaration
public static void SetDefaultFreeTextSize(double size, PTExtendedAnnotType type)
Parameters
Type Name Description
System.Double size
PTExtendedAnnotType type

SetDefaultLineEndStyles(NSNumber[], PTExtendedAnnotType)

Declaration
public static void SetDefaultLineEndStyles(NSNumber[] lineEndStyles, PTExtendedAnnotType type)
Parameters
Type Name Description
Foundation.NSNumber[] lineEndStyles
PTExtendedAnnotType type

SetDefaultMeasurementScale(PTMeasurementScale, PTExtendedAnnotType)

Declaration
public static void SetDefaultMeasurementScale(PTMeasurementScale measurementScale, PTExtendedAnnotType type)
Parameters
Type Name Description
PTMeasurementScale measurementScale
PTExtendedAnnotType type

SetDefaultOpacity(Double, PTExtendedAnnotType)

Declaration
public static void SetDefaultOpacity(double opacity, PTExtendedAnnotType type)
Parameters
Type Name Description
System.Double opacity
PTExtendedAnnotType type

SetDefaultStrokeStyle(PTStrokeStyle, PTExtendedAnnotType)

Declaration
public static void SetDefaultStrokeStyle(PTStrokeStyle strokeStyle, PTExtendedAnnotType type)
Parameters
Type Name Description
PTStrokeStyle strokeStyle
PTExtendedAnnotType type

UiColorFromColorPt(PTColorPt, Int32)

Declaration
public static UIColor UiColorFromColorPt(PTColorPt colorpt, int compNum)
Parameters
Type Name Description
PTColorPt colorpt
System.Int32 compNum
Returns
Type Description
UIKit.UIColor
In This Article
Back to top Generated by DocFX