RE: how to zoom selected Text from Toolbar(C#)



i have managed to found a function for that but it zoom full IE contents not
a part or the selection
here is code
Explorer.ExecWB(OLECMDID.OLECMDID_OPTICAL_ZOOM,
OLECMDEXECOPT.OLECMDEXECOPT_DODEFAULT, ref val, ref Missing);
not sure how to give it selected region.


"tasleem" wrote:

hi all, i want to zoom the selected text displayed on IE using Toolbar. i
have searched but cannot find any method that zooms the display.
here is video link of what i am looking for,zooming just like this.
http://www.youtube.com/watch?v=3n0vt6TvEho
There are methoed in interface like IHTMLTxtRange::execCommand but that did
not actually work on that.
Any help is welcomed
.



Relevant Pages

  • Re: Word text selection behavior
    ... occurs for all zoom levels up to about 110%. ... ClearType all together. ... I thought that "correct" selection behavior is to highlight in the "Selected ... then any text you select in that paragraph will show a blue background. ...
    (microsoft.public.word.docmanagement)
  • My custom control has issues
    ... I posted a thread a couple of weeks back titled "I need to zoom a bitmap ... Ultimately I have written a new control using ... to using GDI to drawing my rubber-band selection. ... when I draw the final selection rectangle I get a black box, ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Zoom to Selection ZoomPicBox
    ... the selection operation, as the position to which the scroll should be set, ... The zoom from a selection can therefore be calculated by the code after my ... private void zoomPicBox1_MouseDown(object sender, ... >trying to add the ability to zoom to a selection rectangle and zoom into ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Zoom to Selection ZoomPicBox
    ... Thanks Bob I have a few projects going but when I get time to wrap this ... > by the selection operation, as the position to which the scroll should be ... > which the zoom should be set. ... >>trying to add the ability to zoom to a selection rectangle and zoom into ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Points returned by Information(wdHorizontalPosition...)
    ... You're right that Selection.Informationis affected by the zoom. ... Informationreturns points, not twips ... ... >> selection or range to the left edge of the page measured in points (1 ... >> changing to inches and setting the margin to 0.25 inches. ...
    (microsoft.public.word.vba.general)