} // RtfHtmlConvertSettings public RtfHtmlConvertSettings(IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope) { if (imageAdapter == null) { throw new ArgumentNullException(nameof(imageAdapter)); } ImageAdapter = imageAdapter; ConvertScope = convertScope; VisualHyperlinkPattern = DefaultVisualHyperlinkPattern; } // RtfHtmlConvertSettings
// ---------------------------------------------------------------------- public RtfHtmlConvertSettings( IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope ) { if ( imageAdapter == null ) { throw new ArgumentNullException( "imageAdapter" ); } this.imageAdapter = imageAdapter; this.convertScope = convertScope; visualHyperlinkPattern = DefaultVisualHyperlinkPattern; }
} // RtfHtmlConvertSettings // ---------------------------------------------------------------------- public RtfHtmlConvertSettings(IRtfVisualImageAdapter imageAdapter, RtfHtmlConvertScope convertScope) { if (imageAdapter == null) { throw new ArgumentNullException("imageAdapter"); } this.imageAdapter = imageAdapter; this.convertScope = convertScope; this.visualHyperlinkPattern = DefaultVisualHyperlinkPattern; } // RtfHtmlConvertSettings
} // RtfHtmlConvertSettings public RtfHtmlConvertSettings(RtfHtmlConvertScope convertScope) : this(new RtfVisualImageAdapter(), convertScope) { } // RtfHtmlConvertSettings
} // RtfHtmlConvertSettings // ---------------------------------------------------------------------- public RtfHtmlConvertSettings(IObjectVisitor objectVisitor, RtfHtmlConvertScope convertScope) { this.objectVisitor = objectVisitor ?? new DataUriImageVisitor(); ConvertScope = convertScope; VisualHyperlinkPattern = DefaultVisualHyperlinkPattern; } // RtfHtmlConvertSettings
} // RtfHtmlConvertSettings // ---------------------------------------------------------------------- public RtfHtmlConvertSettings(RtfHtmlConvertScope convertScope) : this(new DataUriImageVisitor(), convertScope) { } // RtfHtmlConvertSettings
// ---------------------------------------------------------------------- public RtfHtmlConvertSettings( RtfHtmlConvertScope convertScope ) : this(new RtfVisualImageAdapter(), convertScope) { }