Skip to content

IPdfWidget

Definition

typescript
export interface IPdfWidget {
  index: number;
  widgetType: 'checkbox' | 'text' | 'password' | 'radiobutton' | 'pushbutton' | 'listbox' | 'dropdownlist' | 'signature' | 'image' | 'unknown'; 
  fontName: string;
  fontSize: number;
  fieldName: string;
  radioButtonOption: string;
  left: number;
  top?: number;
  bottom: number;
  width: number;
  height: number;
  checkMarkStyle: 'check' | 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'unknown'
  borderStyle: 'solid' | 'dashed' | 'beveled' | 'inset' | 'underline'
  borderColor: { R: number, G: number, B: number }
  appearances: IAppearance[];
  newWidget: boolean;
  invisible: boolean; 
  horizontalAlignment?: 'left' | 'center' | 'right' | null;
  verticalAlignment?: 'top' | 'middle' | 'bottom' | null;
}