⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 htmlinterfaces.cs

📁 c#精彩编程百例(源代码)
💻 CS
📖 第 1 页 / 共 2 页
字号:
//  HTMLInterfaces.cs
//  These interfaces are required for the communication with the browser component.
//  Copyright (C) 2001 Mike Krueger
//
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with this program; if not, write to the Free Software
//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

namespace AxSHDocVw {
		
	[System.Runtime.InteropServices.GuidAttribute("626FC520-A41E-11CF-A731-00A0C9082637")]
	[System.Runtime.InteropServices.ComVisibleAttribute(true)]
	[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
	public interface IHTMLDocument
	{
		object GetScript();
	}
	
	[System.Runtime.InteropServices.ComVisibleAttribute(true)]
	[System.Runtime.InteropServices.GuidAttribute("3050F2E3-98B5-11CF-BB82-00AA00BDCE0B")]
	[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
	public interface IHTMLStyleSheet
	{
		object GetRules();
		string GetCssText();
		void SetCssText(string p);
		string GetMedia();
		void SetMedia(string p);
		void RemoveRule(int lIndex);
		void RemoveImport(int lIndex);
		int AddRule(string bstrSelector, string bstrStyle, int lIndex);
		int AddImport(string bstrURL, int lIndex);
		string GetId();
		string GetStyleSheetType();
		string GetHref();
		void SetHref(string p);
		object GetImports();
		bool GetReadOnly();
		bool GetDisabled();
		void SetDisabled(bool p);
		IHTMLElement GetOwningElement();
		IHTMLStyleSheet GetParentStyleSheet();
		string GetTitle();
		void SetTitle(string p);
	}
	
	[System.Runtime.InteropServices.ComVisibleAttribute(true)]
	[System.Runtime.InteropServices.InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsDual)]
	[System.Runtime.InteropServices.GuidAttribute("3050F25E-98B5-11CF-BB82-00AA00BDCE0B")]
	public interface IHTMLStyle
	{
		bool RemoveAttribute(string strAttributeName, int lFlags);
		object GetAttribute(string strAttributeName, int lFlags);
		void SetAttribute(string strAttributeName, object AttributeValue, int lFlags);
		string GetFilter();
		void SetFilter(string p);
		string GetClip();
		void SetClip(string p);
		string GetCursor();
		void SetCursor(string p);
		float GetPosHeight();
		void SetPosHeight(float p);
		float GetPosWidth();
		void SetPosWidth(float p);
		float GetPosLeft();
		void SetPosLeft(float p);
		float GetPosTop();
		void SetPosTop(float p);
		int GetPixelHeight();
		void SetPixelHeight(int p);
		int GetPixelWidth();
		void SetPixelWidth(int p);
		int GetPixelLeft();
		void SetPixelLeft(int p);
		int GetPixelTop();
		void SetPixelTop(int p);
		string GetCssText();
		void SetCssText(string p);
		string GetPageBreakAfter();
		void SetPageBreakAfter(string p);
		string GetPageBreakBefore();
		void SetPageBreakBefore(string p);
		string GetOverflow();
		void SetOverflow(string p);
		object GetZIndex();
		void SetZIndex(object p);
		string GetPosition();
		object GetLeft();
		void SetLeft(object p);
		object GetTop();
		void SetTop(object p);
		string GetWhiteSpace();
		void SetWhiteSpace(string p);
		string GetListStyle();
		void SetListStyle(string p);
		string GetListStyleImage();
		void SetListStyleImage(string p);
		string GetListStylePosition();
		void SetListStylePosition(string p);
		string GetListStyleType();
		void SetListStyleType(string p);
		string GetVisibility();
		void SetVisibility(string p);
		string GetDisplay();
		void SetDisplay(string p);
		string GetClear();
		void SetClear(string p);
		string GetStyleFloat();
		void SetStyleFloat(string p);
		object GetHeight();
		void SetHeight(object p);
		object GetWidth();
		void SetWidth(object p);
		string GetBorderLeftStyle();
		void SetBorderLeftStyle(string p);
		string GetBorderBottomStyle();
		void SetBorderBottomStyle(string p);
		string GetBorderRightStyle();
		void SetBorderRightStyle(string p);
		string GetBorderTopStyle();
		void SetBorderTopStyle(string p);
		string GetBorderStyle();
		void SetBorderStyle(string p);
		object GetBorderLeftWidth();
		void SetBorderLeftWidth(object p);
		object GetBorderBottomWidth();
		void SetBorderBottomWidth(object p);
		object GetBorderRightWidth();
		void SetBorderRightWidth(object p);
		object GetBorderTopWidth();
		void SetBorderTopWidth(object p);
		string GetBorderWidth();
		void SetBorderWidth(string p);
		object GetBorderLeftColor();
		void SetBorderLeftColor(object p);
		object GetBorderBottomColor();
		void SetBorderBottomColor(object p);
		object GetBorderRightColor();
		void SetBorderRightColor(object p);
		object GetBorderTopColor();
		void SetBorderTopColor(object p);
		string GetBorderColor();
		void SetBorderColor(string p);
		string GetBorderLeft();
		void SetBorderLeft(string p);
		string GetBorderBottom();
		void SetBorderBottom(string p);
		string GetBorderRight();
		void SetBorderRight(string p);
		string GetBorderTop();
		void SetBorderTop(string p);
		string GetBorder();
		void SetBorder(string p);
		string GetPadding();
		void SetPadding(string p);
		object GetPaddingLeft();
		void SetPaddingLeft(object p);
		object GetPaddingBottom();
		void SetPaddingBottom(object p);
		object GetPaddingRight();
		void SetPaddingRight(object p);
		object GetPaddingTop();
		void SetPaddingTop(object p);
		string GetMargin();
		void SetMargin(string p);
		object GetMarginLeft();
		void SetMarginLeft(object p);
		object GetMarginBottom();
		void SetMarginBottom(object p);
		object GetMarginRight();
		void SetMarginRight(object p);
		object GetMarginTop();
		void SetMarginTop(object p);
		object GetLineHeight();
		void SetLineHeight(object p);
		object GetTextIndent();
		void SetTextIndent(object p);
		string GetTextAlign();
		void SetTextAlign(string p);
		string GetTextTransform();
		void SetTextTransform(string p);
		object GetVerticalAlign();
		void SetVerticalAlign(object p);
		bool GetTextDecorationBlink();
		void SetTextDecorationBlink(bool p);
		bool GetTextDecorationLineThrough();
		void SetTextDecorationLineThrough(bool p);
		bool GetTextDecorationOverline();
		void SetTextDecorationOverline(bool p);
		bool GetTextDecorationUnderline();
		void SetTextDecorationUnderline(bool p);
		bool GetTextDecorationNone();
		void SetTextDecorationNone(bool p);
		string GetTextDecoration();
		void SetTextDecoration(string p);
		object GetLetterSpacing();
		void SetLetterSpacing(object p);
		object GetWordSpacing();
		void SetWordSpacing(object p);
		object GetBackgroundPositionY();
		void SetBackgroundPositionY(object p);
		object GetBackgroundPositionX();
		void SetBackgroundPositionX(object p);
		string GetBackgroundPosition();
		void SetBackgroundPosition(string p);
		string GetBackgroundAttachment();
		void SetBackgroundAttachment(string p);
		string GetBackgroundRepeat();
		void SetBackgroundRepeat(string p);
		string GetBackgroundImage();
		void SetBackgroundImage(string p);
		object GetBackgroundColor();
		void SetBackgroundColor(object p);
		string GetBackground();
		void SetBackground(string p);
		object GetColor();
		void SetColor(object p);
		string GetFont();
		void SetFont(string p);
		object GetFontSize();
		void SetFontSize(object p);
		string GetFontWeight();
		void SetFontWeight(string p);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -