📄 mshtml_tlb.pas
字号:
HTMLCommentElement = DispIHTMLCommentElement;
HTMLPhraseElement = DispIHTMLPhraseElement;
HTMLSpanElement = DispIHTMLSpanElement;
HTMLTable = DispIHTMLTable;
HTMLTableCol = DispIHTMLTableCol;
HTMLTableSection = DispIHTMLTableSection;
HTMLTableRow = DispIHTMLTableRow;
HTMLTableCell = DispIHTMLTableCell;
HTMLScriptElement = DispIHTMLScriptElement;
HTMLNoShowElement = DispIHTMLNoShowElement;
HTMLObjectElement = DispIHTMLObjectElement;
HTMLFrameBase = DispIHTMLFrameBase;
HTMLFrameElement = DispIHTMLFrameElement;
HTMLIFrame = DispIHTMLIFrameElement;
HTMLDivPosition = DispIHTMLDivPosition;
HTMLFieldSetElement = DispIHTMLFieldSetElement;
HTMLLegendElement = DispIHTMLLegendElement;
HTMLSpanFlow = DispIHTMLSpanFlow;
HTMLFrameSetSite = DispIHTMLFrameSetElement;
HTMLBGsound = DispIHTMLBGsound;
HTMLStyleElement = DispIHTMLStyleElement;
HTMLStyleFontFace = IHTMLStyleFontFace;
HTMLDialog = IHTMLDialog;
OldHTMLDocument = IHTMLDocument2;
OldHTMLFormElement = DispIHTMLFormElement;
IHTMLStyle = interface(IDispatch)
['{3050F25E-98B5-11CF-BB82-00AA00BDCE0B}']
procedure Set_fontFamily(const Value: WideString); safecall;
function Get_fontFamily: WideString; safecall;
procedure Set_fontStyle(const Value: WideString); safecall;
function Get_fontStyle: WideString; safecall;
procedure Set_fontVariant(const Value: WideString); safecall;
function Get_fontVariant: WideString; safecall;
procedure Set_fontWeight(const Value: WideString); safecall;
function Get_fontWeight: WideString; safecall;
procedure Set_fontSize(Value: OleVariant); safecall;
function Get_fontSize: OleVariant; safecall;
procedure Set_font(const Value: WideString); safecall;
function Get_font: WideString; safecall;
procedure Set_color(Value: OleVariant); safecall;
function Get_color: OleVariant; safecall;
procedure Set_background(const Value: WideString); safecall;
function Get_background: WideString; safecall;
procedure Set_backgroundColor(Value: OleVariant); safecall;
function Get_backgroundColor: OleVariant; safecall;
procedure Set_backgroundImage(const Value: WideString); safecall;
function Get_backgroundImage: WideString; safecall;
procedure Set_backgroundRepeat(const Value: WideString); safecall;
function Get_backgroundRepeat: WideString; safecall;
procedure Set_backgroundAttachment(const Value: WideString); safecall;
function Get_backgroundAttachment: WideString; safecall;
procedure Set_backgroundPosition(const Value: WideString); safecall;
function Get_backgroundPosition: WideString; safecall;
procedure Set_backgroundPositionX(Value: OleVariant); safecall;
function Get_backgroundPositionX: OleVariant; safecall;
procedure Set_backgroundPositionY(Value: OleVariant); safecall;
function Get_backgroundPositionY: OleVariant; safecall;
procedure Set_wordSpacing(Value: OleVariant); safecall;
function Get_wordSpacing: OleVariant; safecall;
procedure Set_letterSpacing(Value: OleVariant); safecall;
function Get_letterSpacing: OleVariant; safecall;
procedure Set_textDecoration(const Value: WideString); safecall;
function Get_textDecoration: WideString; safecall;
procedure Set_textDecorationNone(Value: WordBool); safecall;
function Get_textDecorationNone: WordBool; safecall;
procedure Set_textDecorationUnderline(Value: WordBool); safecall;
function Get_textDecorationUnderline: WordBool; safecall;
procedure Set_textDecorationOverline(Value: WordBool); safecall;
function Get_textDecorationOverline: WordBool; safecall;
procedure Set_textDecorationLineThrough(Value: WordBool); safecall;
function Get_textDecorationLineThrough: WordBool; safecall;
procedure Set_textDecorationBlink(Value: WordBool); safecall;
function Get_textDecorationBlink: WordBool; safecall;
procedure Set_verticalAlign(Value: OleVariant); safecall;
function Get_verticalAlign: OleVariant; safecall;
procedure Set_textTransform(const Value: WideString); safecall;
function Get_textTransform: WideString; safecall;
procedure Set_textAlign(const Value: WideString); safecall;
function Get_textAlign: WideString; safecall;
procedure Set_textIndent(Value: OleVariant); safecall;
function Get_textIndent: OleVariant; safecall;
procedure Set_lineHeight(Value: OleVariant); safecall;
function Get_lineHeight: OleVariant; safecall;
procedure Set_marginTop(Value: OleVariant); safecall;
function Get_marginTop: OleVariant; safecall;
procedure Set_marginRight(Value: OleVariant); safecall;
function Get_marginRight: OleVariant; safecall;
procedure Set_marginBottom(Value: OleVariant); safecall;
function Get_marginBottom: OleVariant; safecall;
procedure Set_marginLeft(Value: OleVariant); safecall;
function Get_marginLeft: OleVariant; safecall;
procedure Set_margin(const Value: WideString); safecall;
function Get_margin: WideString; safecall;
procedure Set_paddingTop(Value: OleVariant); safecall;
function Get_paddingTop: OleVariant; safecall;
procedure Set_paddingRight(Value: OleVariant); safecall;
function Get_paddingRight: OleVariant; safecall;
procedure Set_paddingBottom(Value: OleVariant); safecall;
function Get_paddingBottom: OleVariant; safecall;
procedure Set_paddingLeft(Value: OleVariant); safecall;
function Get_paddingLeft: OleVariant; safecall;
procedure Set_padding(const Value: WideString); safecall;
function Get_padding: WideString; safecall;
procedure Set_border(const Value: WideString); safecall;
function Get_border: WideString; safecall;
procedure Set_borderTop(const Value: WideString); safecall;
function Get_borderTop: WideString; safecall;
procedure Set_borderRight(const Value: WideString); safecall;
function Get_borderRight: WideString; safecall;
procedure Set_borderBottom(const Value: WideString); safecall;
function Get_borderBottom: WideString; safecall;
procedure Set_borderLeft(const Value: WideString); safecall;
function Get_borderLeft: WideString; safecall;
procedure Set_borderColor(const Value: WideString); safecall;
function Get_borderColor: WideString; safecall;
procedure Set_borderTopColor(Value: OleVariant); safecall;
function Get_borderTopColor: OleVariant; safecall;
procedure Set_borderRightColor(Value: OleVariant); safecall;
function Get_borderRightColor: OleVariant; safecall;
procedure Set_borderBottomColor(Value: OleVariant); safecall;
function Get_borderBottomColor: OleVariant; safecall;
procedure Set_borderLeftColor(Value: OleVariant); safecall;
function Get_borderLeftColor: OleVariant; safecall;
procedure Set_borderWidth(const Value: WideString); safecall;
function Get_borderWidth: WideString; safecall;
procedure Set_borderTopWidth(Value: OleVariant); safecall;
function Get_borderTopWidth: OleVariant; safecall;
procedure Set_borderRightWidth(Value: OleVariant); safecall;
function Get_borderRightWidth: OleVariant; safecall;
procedure Set_borderBottomWidth(Value: OleVariant); safecall;
function Get_borderBottomWidth: OleVariant; safecall;
procedure Set_borderLeftWidth(Value: OleVariant); safecall;
function Get_borderLeftWidth: OleVariant; safecall;
procedure Set_borderStyle(const Value: WideString); safecall;
function Get_borderStyle: WideString; safecall;
procedure Set_borderTopStyle(const Value: WideString); safecall;
function Get_borderTopStyle: WideString; safecall;
procedure Set_borderRightStyle(const Value: WideString); safecall;
function Get_borderRightStyle: WideString; safecall;
procedure Set_borderBottomStyle(const Value: WideString); safecall;
function Get_borderBottomStyle: WideString; safecall;
procedure Set_borderLeftStyle(const Value: WideString); safecall;
function Get_borderLeftStyle: WideString; safecall;
procedure Set_width(Value: OleVariant); safecall;
function Get_width: OleVariant; safecall;
procedure Set_height(Value: OleVariant); safecall;
function Get_height: OleVariant; safecall;
procedure Set_styleFloat(const Value: WideString); safecall;
function Get_styleFloat: WideString; safecall;
procedure Set_clear(const Value: WideString); safecall;
function Get_clear: WideString; safecall;
procedure Set_display(const Value: WideString); safecall;
function Get_display: WideString; safecall;
procedure Set_visibility(const Value: WideString); safecall;
function Get_visibility: WideString; safecall;
procedure Set_listStyleType(const Value: WideString); safecall;
function Get_listStyleType: WideString; safecall;
procedure Set_listStylePosition(const Value: WideString); safecall;
function Get_listStylePosition: WideString; safecall;
procedure Set_listStyleImage(const Value: WideString); safecall;
function Get_listStyleImage: WideString; safecall;
procedure Set_listStyle(const Value: WideString); safecall;
function Get_listStyle: WideString; safecall;
procedure Set_whiteSpace(const Value: WideString); safecall;
function Get_whiteSpace: WideString; safecall;
procedure Set_top(Value: OleVariant); safecall;
function Get_top: OleVariant; safecall;
procedure Set_left(Value: OleVariant); safecall;
function Get_left: OleVariant; safecall;
function Get_position: WideString; safecall;
procedure Set_zIndex(Value: OleVariant); safecall;
function Get_zIndex: OleVariant; safecall;
procedure Set_overflow(const Value: WideString); safecall;
function Get_overflow: WideString; safecall;
procedure Set_pageBreakBefore(const Value: WideString); safecall;
function Get_pageBreakBefore: WideString; safecall;
procedure Set_pageBreakAfter(const Value: WideString); safecall;
function Get_pageBreakAfter: WideString; safecall;
procedure Set_cssText(const Value: WideString); safecall;
function Get_cssText: WideString; safecall;
procedure Set_pixelTop(Value: Integer); safecall;
function Get_pixelTop: Integer; safecall;
procedure Set_pixelLeft(Value: Integer); safecall;
function Get_pixelLeft: Integer; safecall;
procedure Set_pixelWidth(Value: Integer); safecall;
function Get_pixelWidth: Integer; safecall;
procedure Set_pixelHeight(Value: Integer); safecall;
function Get_pixelHeight: Integer; safecall;
procedure Set_posTop(Value: Single); safecall;
function Get_posTop: Single; safecall;
procedure Set_posLeft(Value: Single); safecall;
function Get_posLeft: Single; safecall;
procedure Set_posWidth(Value: Single); safecall;
function Get_posWidth: Single; safecall;
procedure Set_posHeight(Value: Single); safecall;
function Get_posHeight: Single; safecall;
procedure Set_cursor(const Value: WideString); safecall;
function Get_cursor: WideString; safecall;
procedure Set_clip(const Value: WideString); safecall;
function Get_clip: WideString; safecall;
procedure Set_filter(const Value: WideString); safecall;
function Get_filter: WideString; safecall;
procedure setAttribute(const strAttributeName: WideString; AttributeValue: OleVariant; lFlags: Integer); safecall;
function getAttribute(const strAttributeName: WideString; lFlags: Integer): OleVariant; safecall;
function removeAttribute(const strAttributeName: WideString; lFlags: Integer): WordBool; safecall;
function toString: WideString; safecall;
property fontFamily: WideString read Get_fontFamily write Set_fontFamily;
property fontStyle: WideString read Get_fontStyle write Set_fontStyle;
property fontVariant: WideString read Get_fontVariant write Set_fontVariant;
property fontWeight: WideString read Get_fontWeight write Set_fontWeight;
property fontSize: OleVariant read Get_fontSize write Set_fontSize;
property font: WideString read Get_font write Set_font;
property color: OleVariant read Get_color write Set_color;
property background: WideString read Get_background write Set_background;
property backgroundColor: OleVariant read Get_backgroundColor write Set_backgroundColor;
property backgroundImage: WideString read Get_backgroundImage write Set_backgroundImage;
property backgroundRepeat: WideString read Get_backgroundRepeat write Set_backgroundRepeat;
property backgroundAttachment: WideString read Get_backgroundAttachment write Set_backgroundAttachment;
property backgroundPosition: WideString read Get_backgroundPosition write Set_backgroundPosition;
property backgroundPositionX: OleVariant read Get_backgroundPositionX write Set_backgroundPositionX;
property backgroundPositionY: OleVariant read Get_backgroundPositionY write Set_backgroundPositionY;
property wordSpacing: OleVariant read Get_wordSpacing write Set_wordSpacing;
property letterSpacing: OleVariant read Get_letterSpacing write Set_letterSpacing;
property textDecoration: WideString read Get_textDecoration write Set_textDecoration;
property textDecorationNone: WordBool read Get_textDecorationNone write Set_textDecorationNone;
property textDecorationUnderline: WordBool read Get_textDecorationUnderline write Set_textDecorationUnderline;
property textDecorationOverline: WordBool read Get_textDecorationOverline write Set_textDecorationOverline;
property textDecorationLineThrough: WordBool read Get_textDecorationLineThrough write Set_textDecorationLineThrough;
property textDecorationBlink: WordBool read Get_textDecorationBlink write Set_textDecorationBlink;
property verticalAlign: OleVariant read Get_verticalAlign write Set_verticalAlign;
property textTransform: WideString read Get_textTransform write Set_textTransform;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -