DrawingPatch Type
Public type for DrawingPatch.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Syntax
type DrawingPatch = Partial<Omit<PictureDrawing, 'kind' | 'id' | 'position' | 'crop'>> & Partial<Omit<ShapeDrawing, 'kind' | 'id' | 'position'>> & {
position?: Partial<DrawingPosition>;
crop?: Partial<PictureDrawing['crop']>;
};
Members
Properties
| Property | Description |
|---|---|
| adjustments | The adjustments value of DrawingPatch. |
| altText | The altText value of DrawingPatch. |
| bold | The bold value of DrawingPatch. |
| crop | The crop value of DrawingPatch. |
| dataUrl | The dataUrl value of DrawingPatch. |
| fillColor | The fillColor value of DrawingPatch. |
| fillGradient | The fillGradient value of DrawingPatch. |
| flipH | The flipH value of DrawingPatch. |
| flipV | The flipV value of DrawingPatch. |
| fontFamily | The fontFamily value of DrawingPatch. |
| fontSize | The fontSize value of DrawingPatch. |
| glow | The glow value of DrawingPatch. |
| groupId | The groupId value of DrawingPatch. |
| lineColor | The lineColor value of DrawingPatch. |
| lineDash | The lineDash value of DrawingPatch. |
| lineWidth | The lineWidth value of DrawingPatch. |
| name | The name value of DrawingPatch. |
| opacity | The opacity value of DrawingPatch. |
| position | The position value of DrawingPatch. |
| preset | The preset value of DrawingPatch. |
| rotation | The rotation value of DrawingPatch. |
| shadow | The shadow value of DrawingPatch. |
| text | The text value of DrawingPatch. |
| textAlign | The textAlign value of DrawingPatch. |
| textColor | The textColor value of DrawingPatch. |
| verticalAlign | The verticalAlign value of DrawingPatch. |
Examples
Pass the DrawingPatch value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.
import type { DrawingPatch } from '@txtextcontrol/tx-sheet-control';
function inspectDrawingPatchName(drawingPatch: DrawingPatch) {
const value = drawingPatch['name'];
console.log('DrawingPatch.name', value);
}
See Also
Additional and Inherited Members
| Member | Ownership |
|---|---|
| barcode | Portable live barcode settings. Source references are resolved after recalculation and mail merge; use the owning cell or drawing barcode operations to persist edits. |