[]
        
(Showing Draft Content)

C1.Win.C1Preview.CompatibilityOptions

CompatibilityOptions Class

Represents options that improve compatibility with previous versions of C1PreviewPane.

Inheritance
CompatibilityOptions
Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.8.dll
Syntax
public class CompatibilityOptions

Constructors

Name Description
CompatibilityOptions()

Properties

Name Description
ClipboardHtmlSupport

Gets or sets a value indicating whether CF_HTML clipboard format is provided when copying selection to clipboard (along with plain text which is provided regardless).

This option is true by default, which allows to preserve some formatting in the pasted text to applications that recognize the CF_HTML format. (How much of the original formatting is preserved depends on the application.)

Turn this option off to only copy plain text to clipboard (as in versions prior to 2013v1).

DefaultSmoothingMode

Gets or sets a value indicating whether defalut System.Drawing.Drawing2D.SmoothingMode is used to draw preview pages. If this value is false (which is the default), pages are drawn using antialiased smoothing mode.

HideMarginsOnSingleClick

Gets or sets a value indicating whether a single mouse click (rather than a double click) should hide/show page margins in C1PreviewPane. The default value is false.

LegacyMouseTrack

Gets or sets a value indicating whether C1PreviewPane should use legacy method to draw mouse tracks on rulers if TrackMousePosition is true. The default value is false.

LegacyPageBorder

Gets or sets a value indicating whether C1PreviewPane should use legacy method to draw shadows around pages. The default value is false.

Methods

Name Description
AssignFrom(CompatibilityOptions)

Copies properties from another object into this object.

Reset()

Resets properties of this object to default values.

ShouldSerialize()

Gets a value indicating whether any properties on the current object have non-default values.