15.08.2013 Views

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

Ektron® eWebEditPro Developer's Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Assume that you added an inline style sheet.<br />

strResult = <strong>eWebEditPro</strong>.Editor1.addInlineStyle("P", "font-family:Arial")<br />

This code disables that style sheet.<br />

<strong>eWebEditPro</strong>.Editor1.disableStyleSheet "P", True<br />

This code re-enables it.<br />

Method: disableAllStyleSheets<br />

Method: edit<br />

Method: EditFile<br />

<strong>eWebEditPro</strong>.Editor1.disableStyleSheet "P", False<br />

Description: Enables or disables all style sheets for an editor.<br />

Object: ”<strong>eWebEditPro</strong> ActiveX Control Object”<br />

Syntax<br />

<strong>eWebEditPro</strong>.Editor1.disableAllStyleSheets()<br />

Description: Opens a popup window with the editor in it. This method is called<br />

when the button created by createButton is clicked.<br />

Parameters:<br />

elementName - The name of the HTML element that stores the content. The<br />

element name may contain the form name to differentiate elements of the same<br />

name in different forms, for example: “frmMain.Content”.<br />

Object: ”<strong>eWebEditPro</strong> Object”<br />

Description: Loads the given file for user editing.<br />

Object: ”Image Editor Object”<br />

Parameters<br />

Parameter Type Description<br />

FilePath String The location of the file to edit. This file<br />

could be<br />

• on the local system<br />

• available on the server<br />

• a remote file accessed over the<br />

Internet<br />

<strong>Ektron®</strong> <strong>eWebEditPro</strong> Developer’s <strong>Reference</strong> <strong>Guide</strong>, Release 5.1, Revision 1 55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!