public class PrintPreviewControl extends Control
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Forms.PrintPreviewControl
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Windows.Forms
|
static java.lang.String |
className
Qualified class name: System.Windows.Forms.PrintPreviewControl
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PrintPreviewControl()
Initializes a new instance by invoking the .NET constructor.
|
PrintPreviewControl(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStartPageChanged(EventHandler handler)
Invokes the .NET member addStartPageChanged.
|
void |
addTextChanged(EventHandler handler)
Invokes the .NET member addTextChanged.
|
static PrintPreviewControl |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PrintPreviewControl, a cast assert is made to check if types are compatible. |
boolean |
getAutoZoom()
Gets the value of the .NET property AutoZoom.
|
int |
getColumns()
Gets the value of the .NET property Columns.
|
PrintDocument |
getDocument()
Gets the value of the .NET property Document.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getRows()
Gets the value of the .NET property Rows.
|
int |
getStartPage()
Gets the value of the .NET property StartPage.
|
boolean |
getTabStop()
Gets the value of the .NET property TabStop.
|
boolean |
getUseAntiAlias()
Gets the value of the .NET property UseAntiAlias.
|
double |
getZoom()
Gets the value of the .NET property Zoom.
|
void |
InvalidatePreview()
Invokes the .NET member InvalidatePreview.
|
void |
removeStartPageChanged(EventHandler handler)
Invokes the .NET member removeStartPageChanged.
|
void |
removeTextChanged(EventHandler handler)
Invokes the .NET member removeTextChanged.
|
void |
ResetBackColor()
Invokes the .NET member ResetBackColor.
|
void |
ResetForeColor()
Invokes the .NET member ResetForeColor.
|
void |
setAutoZoom(boolean AutoZoom)
Sets the value of the .NET property AutoZoom.
|
void |
setColumns(int Columns)
Sets the value of the .NET property Columns.
|
void |
setDocument(PrintDocument Document)
Sets the value of the .NET property Document.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRows(int Rows)
Sets the value of the .NET property Rows.
|
void |
setStartPage(int StartPage)
Sets the value of the .NET property StartPage.
|
void |
setTabStop(boolean TabStop)
Sets the value of the .NET property TabStop.
|
void |
setUseAntiAlias(boolean UseAntiAlias)
Sets the value of the .NET property UseAntiAlias.
|
void |
setZoom(double Zoom)
Sets the value of the .NET property Zoom.
|
addAutoSizeChanged, addBackColorChanged, addBackgroundImageChanged, addBackgroundImageLayoutChanged, addBindingContextChanged, addCausesValidationChanged, addChangeUICues, addClick, addClientSizeChanged, addContextMenuStripChanged, addControlAdded, addControlRemoved, addCursorChanged, addDataContextChanged, addDockChanged, addDoubleClick, addDpiChangedAfterParent, addDpiChangedBeforeParent, addDragDrop, addDragEnter, addDragLeave, addDragOver, addEnabledChanged, addEnter, addFontChanged, addForeColorChanged, addGiveFeedback, addGotFocus, addHandleCreated, addHandleDestroyed, addHelpRequested, addImeModeChanged, addInvalidated, addKeyDown, addKeyPress, addKeyUp, addLayout, addLeave, addLocationChanged, addLostFocus, addMarginChanged, addMouseCaptureChanged, addMouseClick, addMouseDoubleClick, addMouseDown, addMouseEnter, addMouseHover, addMouseLeave, addMouseMove, addMouseUp, addMouseWheel, addMove, addPaddingChanged, addPaint, addParentChanged, addPreviewKeyDown, addQueryAccessibilityHelp, addQueryContinueDrag, addRegionChanged, addResize, addRightToLeftChanged, addSizeChanged, addStyleChanged, addSystemColorsChanged, addTabIndexChanged, addTabStopChanged, addValidated, addValidating, addVisibleChanged, BeginInvoke, BringToFront, Contains, CreateControl, CreateGraphics, DoDragDrop, DoDragDrop, DrawToBitmap, EndInvoke, FindForm, Focus, getAccessibilityObject, getAccessibleDefaultActionDescription, getAccessibleDescription, getAccessibleName, getAccessibleRole, getAllowDrop, getAnchor, getAutoScrollOffset, getAutoSize, getBackColor, getBackgroundImage, getBackgroundImageLayout, getBindingContext, getBottom, getBounds, getCanFocus, getCanSelect, getCapture, getCausesValidation, getCheckForIllegalCrossThreadCalls, GetChildAtPoint, GetChildAtPoint, getClientRectangle, getClientSize, getCompanyName, GetContainerControl, getContainsFocus, getContextMenuStrip, getCreated, getCursor, getDataBindings, getDataContext, getDefaultBackColor, getDefaultFont, getDefaultForeColor, getDeviceDpi, getDisplayRectangle, getDisposing, getDock, getEnabled, getFocused, getFont, getForeColor, getHasChildren, getHeight, getImeMode, getInvokeRequired, getIsAccessible, getIsAncestorSiteInDesignMode, getIsDisposed, getIsHandleCreated, getIsMirrored, getLayoutEngine, getLeft, getLocation, getMargin, getMaximumSize, getMinimumSize, getModifierKeys, getMouseButtons, getMousePosition, getName, GetNextControl, getPadding, getParent, getPreferredSize, GetPreferredSize, getProductName, getProductVersion, getRecreatingHandle, getRegion, getRight, getRightToLeft, getSize, getTabIndex, getTag, getText, getTop, getTopLevelControl, getUseWaitCursor, getVisible, getWidth, getWindowTarget, Hide, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, IsKeyLocked, IsMnemonic, LogicalToDeviceUnits, LogicalToDeviceUnits, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessControlMessage, PreProcessMessage, RectangleToClient, RectangleToScreen, Refresh, removeAutoSizeChanged, removeBackColorChanged, removeBackgroundImageChanged, removeBackgroundImageLayoutChanged, removeBindingContextChanged, removeCausesValidationChanged, removeChangeUICues, removeClick, removeClientSizeChanged, removeContextMenuStripChanged, removeControlAdded, removeControlRemoved, removeCursorChanged, removeDataContextChanged, removeDockChanged, removeDoubleClick, removeDpiChangedAfterParent, removeDpiChangedBeforeParent, removeDragDrop, removeDragEnter, removeDragLeave, removeDragOver, removeEnabledChanged, removeEnter, removeFontChanged, removeForeColorChanged, removeGiveFeedback, removeGotFocus, removeHandleCreated, removeHandleDestroyed, removeHelpRequested, removeImeModeChanged, removeInvalidated, removeKeyDown, removeKeyPress, removeKeyUp, removeLayout, removeLeave, removeLocationChanged, removeLostFocus, removeMarginChanged, removeMouseCaptureChanged, removeMouseClick, removeMouseDoubleClick, removeMouseDown, removeMouseEnter, removeMouseHover, removeMouseLeave, removeMouseMove, removeMouseUp, removeMouseWheel, removeMove, removePaddingChanged, removePaint, removeParentChanged, removePreviewKeyDown, removeQueryAccessibilityHelp, removeQueryContinueDrag, removeRegionChanged, removeResize, removeRightToLeftChanged, removeSizeChanged, removeStyleChanged, removeSystemColorsChanged, removeTabIndexChanged, removeTabStopChanged, removeValidated, removeValidating, removeVisibleChanged, ResetBindings, ResetCursor, ResetFont, ResetImeMode, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, Scale, Scale, Scale, ScaleBitmapLogicalToDevice, Select, SelectNextControl, SendToBack, setAccessibleDefaultActionDescription, setAccessibleDescription, setAccessibleName, setAccessibleRole, setAllowDrop, setAnchor, setAutoScrollOffset, setAutoSize, setBackColor, setBackgroundImage, setBackgroundImageLayout, setBindingContext, SetBounds, SetBounds, setBounds, setCapture, setCausesValidation, setCheckForIllegalCrossThreadCalls, setClientSize, setContextMenuStrip, setCursor, setDataContext, setDock, setEnabled, setFont, setForeColor, setHeight, setImeMode, setIsAccessible, setLeft, setLocation, setMargin, setMaximumSize, setMinimumSize, setName, setPadding, setParent, setRegion, setRightToLeft, setSize, setTabIndex, setTag, setText, setTop, setUseWaitCursor, setVisible, setWidth, setWindowTarget, Show, SuspendLayout, UpdateaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PrintPreviewControl()
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
Win32Exception,
ArgumentException,
InvalidOperationException,
NotSupportedException,
ArgumentOutOfRangeException,
InvalidEnumArgumentException,
MulticastNotSupportedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itWin32Exception - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic PrintPreviewControl(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addStartPageChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addTextChanged(EventHandler handler) throws java.lang.Throwable
addTextChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static PrintPreviewControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PrintPreviewControl, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPrintPreviewControl instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAutoZoom()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getColumns()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic PrintDocument getDocument() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Controlpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Controlpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Controlnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Controlpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Controlpublic int getRows()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getStartPage()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getTabStop()
throws java.lang.Throwable
getTabStop in class Controljava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUseAntiAlias()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getZoom()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void InvalidatePreview()
throws java.lang.Throwable,
InvalidOperationException,
Win32Exception,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void removeStartPageChanged(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeTextChanged(EventHandler handler) throws java.lang.Throwable
removeTextChanged in class Controlhandler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void ResetBackColor()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
CultureNotFoundException,
ObjectDisposedException,
RankException,
ArrayTypeMismatchException
ResetBackColor in class Controljava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void ResetForeColor()
throws java.lang.Throwable,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
ArgumentNullException,
RankException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
ArrayTypeMismatchException
ResetForeColor in class Controljava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setAutoZoom(boolean AutoZoom)
throws java.lang.Throwable,
InvalidOperationException,
Win32Exception,
OutOfMemoryException,
ArgumentException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
InvalidEnumArgumentException
AutoZoom - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setColumns(int Columns)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
InvalidEnumArgumentException
Columns - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setDocument(PrintDocument Document) throws java.lang.Throwable, InvalidOperationException, Win32Exception, NotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentException
Document - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Controlinstance - the new underlying objectpublic void setRows(int Rows)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
InvalidEnumArgumentException
Rows - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setStartPage(int StartPage)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
InvalidEnumArgumentException
StartPage - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setTabStop(boolean TabStop)
throws java.lang.Throwable
setTabStop in class ControlTabStop - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUseAntiAlias(boolean UseAntiAlias)
throws java.lang.Throwable
UseAntiAlias - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setZoom(double Zoom)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
Win32Exception,
OutOfMemoryException,
InvalidEnumArgumentException
Zoom - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itWin32Exception - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises it